.cart{
  /*顶部导航*/
  .header {
    width: 1200px;
    margin: 0 auto;
    padding: 0 10px 0 46px;
    a:hover {
      color: #095f8a;
    }
    .message-l {
      float: left;
      font-size: 14px;
      text-align: center;
      line-height: 36px;
    }
    .message-r {
      float: right;
      font-size: 14px;
      text-align: center;
      line-height: 36px;
      div {
        float: left;
        margin-right: 18px;
        img {
          margin-right: 2px;
        }
        strong {
          font-weight: 200;
        }
      }
    }
  }

  /*搜索框*/
  .search-box {
    width: 1200px;
    margin: 0 auto;
    padding-left: 130px;
    margin-bottom: 3px;
    .logo {
      float: left;
    }
    .search-tool {
      padding: 19px 0 0 220px;
      font-size: 0;
      #text {
        width: 528px;
        height: 50px;
        border: 2px #e01222 solid;
        font-size: 12px;
        padding-left: 10px;
        vertical-align: middle;
      }
      #sub {
        width: 132px;
        height: 50px;
        background-color: #e01222;
        font-size: 18px;
        color: #fff;
        border:none;
        vertical-align: middle;
        cursor: pointer;
      }
    }
  }

  /*购物车*/
  .cart-main {
    width: 1000px;
    margin: 0 auto;
    margin-bottom: 42px;
    .cart-top {
      width: 1000px;
      height: 55px;
      text-align: center;
      line-height: 55px;
      padding-left: 43px;
      div {
        float: left;
        font-size: 14px;
        margin-right: 100px;
      }
      div:nth-child(1) {
        margin-right: 445px;
      }
      div:last-child {
        margin-right: 0;
      }
    }
    .cart-list {
      width: 1000px;
      height: 416px;
      .cart-discount {
        width: 1000px;
        line-height: 33px;
        background: #eee;
        border-bottom: #CCC 1px dotted;
        font-size: 14px;
        padding-left: 36px;
        span {
          color: #e01222;
        }
        a:hover {
          color: #095f8a;
        }
      }
      .cart-shop {
        width: 1000px;
        height: 116px;
        border: 1px #f5f5f5 solid;
        padding: 18px 10px;
        li {
          float: left;
        }
        .cart-checkbox {
          margin-right: 10px;
        }
        .cart-img {
          img {
            border: 1px #eeeeee solid;
            margin-right: 8px;
          }
        }
        .cart-name {
          width:174px;
          height: 48px;
          font-size: 14px;
          line-height: 24px;
          margin-right: 3px;
          a:hover {
            color: #095f8a;
          }
        }
        .cart-option{
          width:200px;
          height:100px;
          margin-top:-15px;
          padding:15px 0 0 2px;
          position: relative;
          margin-right: 38px;
          span {
            color: #9c9c9c;
            font-size: 14px;
            line-height: 24px;
          }
          span:nth-child(3){
            width:36px;
            height: 16px;
            color: #ffffff;
            background-color: #e01222;
            position: absolute;
            top:0;
            right: 0;
            cursor: pointer;
            text-align: center;
            line-height: 16px;
            display: none;
          }
        }
        .cart-option:hover{
          border: 1px #e01222 dashed;
          span:nth-child(3){
            display: block;
          }
        }
        .cart-price{
          padding-top: 5px;
          width:40px;
          height: 24px;
          text-align: center;
          line-height: 12px;
          margin-right:65px;
          p:nth-child(1){
            color: #9c9c9c;
            text-decoration:line-through;
          }
          p:nth-child(2){
            font-size: 14px;
            font-weight:bold;
          }
        }
        .cart-number{
          padding-top: 5px;
          margin-right: 60px;
          input:nth-child(1),input:nth-child(3){
            width:27px;
            height: 28px;
            background-color: #f0f0f0;
            text-align: center;
            line-height: 28px;
            border:none;
            vertical-align: middle;
            cursor: pointer;
          }
          input:nth-child(2){
            width:30px;
            height:19px;
            border: 1px #dddddd solid;
            line-height: 30px;
            vertical-align: middle;
          }
        }
        .cart-price1{
          width:42px;
          height:25px;
          padding-top: 10px;
          font-size: 14px;
          margin-right: 73px;
          text-align: center;
        }
        .cart-action{
          width: 70px;
          height:44px;
          padding-top: 5px;
          font-size: 14px;
          text-align: center;
          line-height: 22px;
          a:hover {
            color: #095f8a;
          }
        }
      }
    }
    .cart-bottom{
      position: relative;
      width:1000px;
      height:50px;
      background-color: #eeeeee;
      font-size: 14px;
      padding: 18px 0 0 11px;
      div {
        float: left;
      }
      .cart-box1{
        input{
          margin-top: -5px;
          margin-right: 6px;
          border:none;
          vertical-align: middle;
        }
        span{
          margin-right: 16px;
          cursor: pointer;
        }
        a:hover {
          color: #095f8a;
        }
      }
      .cart-box2{
        margin-left: 520px;
        margin-right: 10px;
        em{
          display: inline-block;
          width:20px;
          text-align: center;
        }
      }
      .cart-box3{
        strong{
          font-weight: 100;
          color: #e01222;
          em{
            color: #e01222;
          }
        }
      }
      .cart-box4{
        position: absolute;
        top: 0;
        right: 0;
        width:80px;
        height:50px;
        background-color: #e01222;
        text-align: center;
        line-height: 50px;
        cursor: pointer;
        a{
          color: #ffffff;
        }
      }
    }
    .cart-null{
      width:1000px;
      height: 466px;
      display: none;
      div:nth-of-type(1){
        float: left;
        width:300px;
        height:100px;
        margin-top: 150px;
        margin-left: 250px;
        p{
          width:300px;
          height: 40px;
          font-size: 30px;
          color: #6c6c6c;
        }
        input{
          width:150px;
          height:30px;
          background-color: #e01222;
          color:#ffffff;
          border: none;
          border-radius: 5px;
          cursor:pointer;
        }
      }
      div:nth-of-type(2){
        margin-top: 70px;
        float: left;
        img{
          width:250px;
          height:250px;
        }
      }
    }
  }

  /*弹出框*/
  .cart-popover{
    background-color: #ffffff;
    width:432px;
    height: 288px;
    border: 3px #e4e4e4 solid;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px #666;
    position: absolute;
    top: 200px;
    left: 500px;
    display: none;
    >div:nth-child(1){
      float: left;
      >li{
        width:274px;
        height: 65px;
        margin-bottom: 10px;
        >div:nth-child(1){
          font-size: 14px;
          font-weight: 600;
          margin-bottom: 10px;
        }
        ul{
          li{
            float: left;
            border: 2px #e01222 solid;
            padding: 6px 4px;
            position: relative;
            margin-left: 10px;
            cursor: pointer;
            i{
              width:10px;
              height: 10px;
              background: url("../img/cart/xiabiao.png");
              position: absolute;
              bottom: 0;
              right: 0;
            }
          }
          li:nth-child(2){
            border: 2px #f5f5f5 solid;
            i{
              display: none;
            }
          }
        }
        div{
          input:nth-child(1){
            margin-left: 10px;
          }
          input:nth-child(1),input:nth-child(3){
            margin-right: 5px;
            width:26px;
            height: 28px;
            background-color: #e6e6e6;
            border:none;
            vertical-align: middle;
            cursor: pointer;
          }
          input:nth-child(2){
            width:30px;
            height: 19px;
            margin-right: 5px;
            border: 1px #7a7a7a solid;
            vertical-align: middle;
          }
        }
      }
      >li:nth-child(1){
        margin-top: 17px;
      }
      >li:nth-child(3){
        margin-bottom: 0;
      }
      >div{
        margin-left: 55px;
        div{
          float: left;
          width:56px;
          height: 27px;
          margin-right: 10px;
          background-color: #e01222;
          color: #ffffff;
          text-align: center;
          line-height: 27px;
          cursor:pointer;
        }
      }
    }
    >div:nth-child(2){
      float: left;
      div:nth-child(1){
        width:132px;
        height:132px;
        border: 1px #f5f5f5 solid;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 4px;
      }
      div:nth-child(2){
        span{
          font-size: 14px;
        }
        >span:nth-child(1){
          color: #e01222;
          margin-left: 2px;
          margin-right: 10px;
        }
      }
    }
  }

  /*底栏*/
  .footer {
    width: 1000px;
    margin: 0 auto;
    .footer-top {
      width: 1000px;
      height: 36px;
      border-top: 2px #e01222 solid;
      padding-top: 13px;
      p {
        width: 300px;
        margin: 0 auto;
        font-size: 14px;
        a {
          color: #6c6c6c;
          margin: 0 12px;
        }
        span {
          color: #dddddd;
        }
      }
    }
    .footer-bottom {
      width: 1000px;
      height: 53px;
      border-top: 1px #dddddd solid;
      padding-top: 16px;
      p {
        width: 240px;
        margin: 0 auto;
        font-size: 14px;
      }
    }
  }
}